package com.zhiyun.service;

import com.zhiyun.domain.LeaveMsg;
import com.zhiyun.vo.Result;

public interface LeaveMsgService {
    public Result addLeaveMsg(LeaveMsg leaveMsg);
    /**
     * 查看我的留言
     * @param userId
     * @return List<LeaveMsg>
     */
    public Result MyLeaveMsg(int userId);

    /**
     * 未解决的留言
     * @return List<LeaveMsg>
     */
    public Result listLeaveMsg();

    /**
     *
     * @param leaveMsg 修改某个留言,添加回复信息,解决的管理员id,回复的时间,表示该条留言已经解决
     * @return
     */
    public Result updateLeaveMsg(LeaveMsg leaveMsg);
}
